[INFO] cloning repository https://github.com/robin9975/Advent2021
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robin9975/Advent2021" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 8ab3a9e7157d5e2af8ea101e3bf978c45ee895ac
[INFO] building robin9975/Advent2021 against master#a29f341a8ac4e9325a5e37027b4215f50a76d06f for pr-101929
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobin9975%2FAdvent2021" "/workspace/builds/worker-7/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/robin9975/Advent2021 on toolchain a29f341a8ac4e9325a5e37027b4215f50a76d06f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/robin9975/Advent2021
[INFO] finished tweaking git repo https://github.com/robin9975/Advent2021
[INFO] tweaked toml for git repo https://github.com/robin9975/Advent2021 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] crate git repo https://github.com/robin9975/Advent2021 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 88f4ba9932cd3cd919b685b851d6f42b9bbfed8132a6fd850c20927d024b5000
[INFO] running `Command { std: "docker" "start" "-a" "88f4ba9932cd3cd919b685b851d6f42b9bbfed8132a6fd850c20927d024b5000", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "88f4ba9932cd3cd919b685b851d6f42b9bbfed8132a6fd850c20927d024b5000", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88f4ba9932cd3cd919b685b851d6f42b9bbfed8132a6fd850c20927d024b5000", kill_on_drop: false }`
[INFO] [stdout] 88f4ba9932cd3cd919b685b851d6f42b9bbfed8132a6fd850c20927d024b5000
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e92e462e59ac3446a933540fd361ddeb5362c86f92d432d6a560a917a465022e" "/opt/rustwide/cargo-home/bin/cargo" "+a29f341a8ac4e9325a5e37027b4215f50a76d06f" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 74211dfbed2402bc9232e323c639219501da950d451bad45e928345c272f4c0d
[INFO] running `Command { std: "docker" "start" "-a" "74211dfbed2402bc9232e323c639219501da950d451bad45e928345c272f4c0d", kill_on_drop: false }`
[INFO] [stderr]    Compiling Advent2021 v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/day6.rs:17:14
[INFO] [stdout]    |
[INFO] [stdout] 17 |     for n in (0..new_count) {
[INFO] [stdout]    |              ^            ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 17 -     for n in (0..new_count) {
[INFO] [stdout] 17 +     for n in 0..new_count {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `tunnels` in this scope
[INFO] [stdout]   --> src/bin/day12.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |             tunnels: tunnels.clone(),
[INFO] [stdout]    |                      ^^^^^^^ help: you might have meant to use the available field: `self.tunnels`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `n`
[INFO] [stdout]   --> src/bin/day6.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     for n in (0..new_count) {
[INFO] [stdout]    |         ^ help: if this is intentional, prefix it with an underscore: `_n`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day14b.rs:61:17
[INFO] [stdout]    |
[INFO] [stdout] 61 |             let mut rchars = rule.chars().collect::<Vec<_>>();
[INFO] [stdout]    |                 ----^^^^^^
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/day5.rs:61:18
[INFO] [stdout]    |
[INFO] [stdout] 61 |         for y in (min..=max) {
[INFO] [stdout]    |                  ^         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 61 -         for y in (min..=max) {
[INFO] [stdout] 61 +         for y in min..=max {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `for` iterator expression
[INFO] [stdout]   --> src/bin/day5.rs:73:18
[INFO] [stdout]    |
[INFO] [stdout] 73 |         for x in (min..=max) {
[INFO] [stdout]    |                  ^         ^
[INFO] [stdout]    |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 73 -         for x in (min..=max) {
[INFO] [stdout] 73 +         for x in min..=max {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/bin/day6_p2.rs:35:9
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut numbers = content
[INFO] [stdout]    |         ----^^^^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `small_cave_visited` in initializer of `CaveSystem`
[INFO] [stdout]   --> src/bin/day12.rs:46:9
[INFO] [stdout]    |
[INFO] [stdout] 46 |         Self {
[INFO] [stdout]    |         ^^^^ missing `small_cave_visited`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0063]: missing field `small_cave_visited` in initializer of `CaveSystem`
[INFO] [stdout]    --> src/bin/day12.rs:107:5
[INFO] [stdout]     |
[INFO] [stdout] 107 |     CaveSystem { tunnels }
[INFO] [stdout]     |     ^^^^^^^^^^ missing `small_cave_visited`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 3 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0063, E0425.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0063`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `Advent2021` due to 4 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `height`
[INFO] [stdout]   --> src/bin/day9.rs:35:39
[INFO] [stdout]    |
[INFO] [stdout] 35 |             .for_each(|(index, (x, y, height))| {
[INFO] [stdout]    |                                       ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/day8.rs:41:19
[INFO] [stdout]    |
[INFO] [stdout] 41 |             .map(|x| vec!['a', 'b', 'c', 'd', 'e', 'f', 'g']
[INFO] [stdout]    |                   ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]    --> src/bin/day9.rs:149:16
[INFO] [stdout]     |
[INFO] [stdout] 149 |         .map(|(x, y, height)| 1 + height)
[INFO] [stdout]     |                ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `y`
[INFO] [stdout]    --> src/bin/day9.rs:149:19
[INFO] [stdout]     |
[INFO] [stdout] 149 |         .map(|(x, y, height)| 1 + height)
[INFO] [stdout]     |                   ^ help: if this is intentional, prefix it with an underscore: `_y`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `index`
[INFO] [stdout]   --> src/bin/day15.rs:84:35
[INFO] [stdout]    |
[INFO] [stdout] 84 |                     .min_by_key(|(index, n)| n.cost)
[INFO] [stdout]    |                                   ^^^^^ help: if this is intentional, prefix it with an underscore: `_index`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `x`
[INFO] [stdout]   --> src/bin/day5.rs:40:37
[INFO] [stdout]    |
[INFO] [stdout] 40 |             count: (0..=max_x).map(|x| (0..=max_y).map(|_| 0).collect()).collect()
[INFO] [stdout]    |                                     ^ help: if this is intentional, prefix it with an underscore: `_x`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `pos_diff` is never used
[INFO] [stdout]    --> src/bin/day19.rs:129:4
[INFO] [stdout]     |
[INFO] [stdout] 129 | fn pos_diff(
[INFO] [stdout]     |    ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `get_unique_beacon_count` is never used
[INFO] [stdout]    --> src/bin/day19.rs:378:4
[INFO] [stdout]     |
[INFO] [stdout] 378 | fn get_unique_beacon_count(scanners: &[Scanner]) -> usize {
[INFO] [stdout]     |    ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `h` is never used
[INFO] [stdout]   --> src/bin/day15.rs:72:8
[INFO] [stdout]    |
[INFO] [stdout] 72 |     fn h(&self, x: usize, y: usize) -> i32 {
[INFO] [stdout]    |        ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day5.rs:15:21
[INFO] [stdout]    |
[INFO] [stdout] 15 |                     write!(f, ".");
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_must_use)]` on by default
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day5.rs:17:21
[INFO] [stdout]    |
[INFO] [stdout] 17 |                     write!(f, "{}", value);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused `Result` that must be used
[INFO] [stdout]   --> src/bin/day5.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 |             write!(f, "\n");
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: this `Result` may be an `Err` variant, which should be handled
[INFO] [stdout]    = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_path` is never used
[INFO] [stdout]    --> src/bin/day12b.rs:103:4
[INFO] [stdout]     |
[INFO] [stdout] 103 | fn print_path(path: &[Cave]) {
[INFO] [stdout]     |    ^^^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 6 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 3 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 2 warnings emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "74211dfbed2402bc9232e323c639219501da950d451bad45e928345c272f4c0d", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74211dfbed2402bc9232e323c639219501da950d451bad45e928345c272f4c0d", kill_on_drop: false }`
[INFO] [stdout] 74211dfbed2402bc9232e323c639219501da950d451bad45e928345c272f4c0d
